home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / ttf-devanagari-fonts.postinst < prev    next >
Encoding:
Text File  |  2006-12-20  |  534 b   |  19 lines

  1. #!/bin/sh
  2.  
  3. # Automatically added by dh_installdefoma
  4. FILE='/etc/defoma/hints/ttf-devanagari-fonts.hints'
  5. if [ "$1" = configure ]; then
  6.     test -x /usr/bin/defoma-font && /usr/bin/defoma-font reregister-all $FILE
  7. fi
  8. # End automatically added section
  9.  
  10.  
  11. if [ "$1" = configure -a -x /usr/bin/fc-cache ]; then
  12.        echo -n "Regenerating fonts cache... "
  13.        HOME=/root fc-cache -f -v 1>/var/log/fontconfig.log 2>&1 || \
  14.        (echo "failed; see /var/log/fontconfig.log for more information."; \
  15.         exit 1)
  16.        echo "done."
  17. fi
  18.  
  19.